from framework.BaseService import BaseService
from framework.EException import EException
import datetime;

class SystemService(BaseService):
    def getHintList(self,name):
        sql = "select * from sys_param where name like '" + name + "'";
        return self.mySql.select(sql);

    def getParam(self,name):
        sql="select * from sys_param where name='"+name+"'";
        return self.mySql.selectOne(sql);